import request from '@/utils/request'

// 查询场站管理员列表
export function listStationManger(query) {
  return request({
    url: '/business/stationManger/list',
    method: 'get',
    params: query
  })
}

// 查询场站管理员详细
export function getStationManger(id) {
  return request({
    url: '/business/stationManger/' + id,
    method: 'get'
  })
}

// 新增场站管理员
export function addStationManger(data) {
  return request({
    url: '/business/stationManger',
    method: 'post',
    data: data
  })
}

// 修改场站管理员
export function updateStationManger(data) {
  return request({
    url: '/business/stationManger',
    method: 'put',
    data: data
  })
}

// 删除场站管理员
export function delStationManger(id) {
  return request({
    url: '/business/stationManger/' + id,
    method: 'delete'
  })
}
